@import './dimens.scss';
// color
$MainColor: #d81e06;
$lineColor: #e5e5e5;
$hintColor: #999;
$bgColor:#f5f5f5;
$textColor: #333;
// size
$minSize: 12;
$titleSize: 16;
$marginSize: 8;
$radiusSize: 6;
$infoSize: 14;

.text-line-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
}

.text-line-1 {
  overflow: hidden;
  white-space: normal;
  text-overflow: ellipsis;
  display: inline-block;
  width: 100%;
}

.z-index-max {
  z-index: 100;
}

// 提交按钮
.page-commit {
  width: 90%;
  height: px2rem(46);
  line-height: px2rem(46);
  margin-left: 5%;
  display: block;
  background: $MainColor;
  border-radius: px2rem(50);
  font-size: px2rem($titleSize);
  color: white;
  text-align: center;
}

.input-container {
  height: px2rem(48);
  padding: px2rem($marginSize);
  overflow: hidden;
  background: white;
  border-bottom: px2rem(1) solid $lineColor;
  box-sizing: border-box;
  margin-top: px2rem($marginSize);

  input {
    width: 100%;
    height: 100%;
    font-size: px2rem($titleSize);
    outline: none;
    border: none;
  }
}